<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- 引入 Bootstrap -->
      <link href="css/bootstrap-3.3.7/css/bootstrap.min.css" rel="stylesheet">

      <!-- HTML5 Shim 和 Respond.js 用于让 IE8 支持 HTML5元素和媒体查询 -->
      <!-- 注意： 如果通过 file://  引入 Respond.js 文件，则该文件无法起效果 -->
      <!--[if lt IE 9]>
         <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
         <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
      <![endif]-->
      <link rel="stylesheet" href="js/range/jquery.range.css">
     <link rel="stylesheet" href="css/index.css" >
    <script type="text/javascript" src="js/index.js"></script>
     <title>脸型</title>
</head>
<body>
	<!-- 脸型 -->
	<div id="faceType">
		<div class="progress">
			<div class="progress-bar" role="progressbar" aria-valuenow="60"  aria-valuemin="0" aria-valuemax="100" style="width:34%;">
				2/6
			</div>
		</div>
		<div class="container facetype">
			<div class="row">
				<div class="col-xs-2 col-xs-offset-1 progress-text">
					脸型
				</div>
			</div>
			
			<div class="row">
				<div class="col-xs-5 col-xs-offset-1 choice-face" face-id="1">
					<img src="imgs/face_h1.jpg" class="img-responsive center-block">
					<h5>鹅蛋脸</h5>
					<p>额头、颧骨宽度一直，下巴曲线圆润自然。</p>
				</div>
				<div class="col-xs-5  choice-face" face-id="2">
					<img src="imgs/face_h1.jpg" class="img-responsive center-block">
					<h5 >圆脸</h5>
					<p>额头、颧骨、下颌的宽度基本相同，线条圆润。</p>
				</div>
			</div>
			<div class="row">
				<div class="col-xs-5 col-xs-offset-1 choice-face" face-id="3">
					<img src="imgs/face_h1.jpg" class="img-responsive center-block">
					<h5>瓜子脸</h5>
					<p>瓜子脸上部略圆，下部略尖，类似瓜子。</p>
				</div>
				<div class="col-xs-5  choice-face" face-id="4">
					<img src="imgs/face_h1.jpg" class="img-responsive center-block">
					<h5>方脸</h5>
					<p>额头、颧骨、下颌的宽度基本相同，四四方方。</p>
				</div>
			</div>
	
			<div class="row butn">
				<a class="pull-left pre-btn"  href="step1.html">上一步</a>
				<div class="col-xs-6 col-xs-offset-3">
				<button type="button" class="btn btn-warning btn-lg btn-block input-btn" id="stepTo3">下一步</button>
				<input type="hidden" name="faceid" id="faceid"/>
				</div>
			</div>
		</div>
	</div>
      <script src="https://code.jquery.com/jquery.js"></script>
      <script src="css/bootstrap-3.3.7/js/bootstrap.min.js"></script>
      <script type="text/javascript" src="js/range/jquery.range.js"></script>
         <script type="text/javascript">
         choiceOne("choice-face","face-id","faceid");
         
      	$("#stepTo3").click(function(){
      	  var face=$("#faceid").val();
    	  if(!face){
    		  alert("请选择脸型");
    		  return false;
    	  }
      		 window.location.href="step3.html"; 
      	})
      </script>
</body>
</html>